//
//  ModalQRInfo.m
//  wechatManager
//
//  Created by tangchunhui on 15/4/16.
//  Copyright (c) 2015年 tangchunhui. All rights reserved.
//

#import "ModalQRInfo.h"

@implementation ModalQRInfo

-(id)initWithMd5str:(NSString *)md5str Sick_no:(NSString *)sick_no pati_id:(NSString *)pati_id pati_name:(NSString *)pati_name pati_sex:(NSString *)pati_sex{
    if (self = [super init]){
        self.md5str = md5str;
        self.sick_no = sick_no;
        self.pati_name = pati_name;
        self.pati_id = pati_id;
        self.pati_sex = pati_sex;
        
    }
    return self;
}

-(NSDictionary *)modalUrl{
    NSString *urlString =[NSString  stringWithFormat:@"http://ybxx.doctorcao.com/index.php/Home/Patient/addpatient"];
    NSDictionary *postdata = @{@"md5str":self.md5str,@"sick_no":self.sick_no,@"pati_id":self.pati_id,
                               @"pati_name":self.pati_name,@"pati_sex":self.pati_sex };
                               
    NSDictionary *dic = @{@"url":urlString,
                          @"method":@"POST",
                          @"postdata":postdata
                          };
    return dic;
}


-(void)processSuccess:(NSDictionary *)results {
}

@end
